package com.ruoyi.user.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.user.domain.UserInfo;
import com.ruoyi.user.domain.UserInfoDtl;
import com.ruoyi.user.mapper.UserInfoMapper;
import com.ruoyi.user.service.IUserService;

@Service("userService")
public class UserService implements IUserService{
	@Autowired
	private UserInfoMapper userInfoMapper;
	

	@Override
	public List<UserInfo> listUserInfo() {
		
		return userInfoMapper.listUserInfo();
	}

	@Override
	public UserInfoDtl getUserDetail(Long userId) {
		
		return userInfoMapper.getUserDetail(userId);
	}

	
	
}
